package com.example.student.mapper;

import com.example.student.pojo.Student;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2022-11-14
 * Time: 19:46
 */
@Repository
public interface StudentMapper {
    //按成绩降序查询学生所有信息
    public List<Student> getAllStudentByScore();

    public List<Integer>getStudentCount(Integer grade);

    List<Student> getAllStudentByName(String name);
}
